package cn.bluethink.eguan.core.entity;

import java.io.Serializable;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 角色实体模型
 * 
 * @author 苏州中科蓝迪公司所有(c)2016-2021
 * @version 0.2.0
 * @brief 驿馆+（EGUAN）
 * @note 修订历史：
 * 1、wanglei于2018/10/11设计并构建初始版本v0.2.0
 */
@Table(name = "eg_role")
public class EgRoleEntity implements Serializable {

    private static final long serialVersionUID = 7213188707627377357L;
    
    //  主键Id
    @Id
    private Integer rid;
    
    private String name;
    
    private Integer role4;
    
    private Integer purview4;
    
    private Integer role2;
    
    private Integer purview2;
    
    private Integer role1;
    
    private Integer purview1;

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getRole4() {
        return role4;
    }

    public void setRole4(Integer role4) {
        this.role4 = role4;
    }

    public Integer getPurview4() {
        return purview4;
    }

    public void setPurview4(Integer purview4) {
        this.purview4 = purview4;
    }

    public Integer getRole2() {
        return role2;
    }

    public void setRole2(Integer role2) {
        this.role2 = role2;
    }

    public Integer getPurview2() {
        return purview2;
    }

    public void setPurview2(Integer purview2) {
        this.purview2 = purview2;
    }

    public Integer getRole1() {
        return role1;
    }

    public void setRole1(Integer role1) {
        this.role1 = role1;
    }

    public Integer getPurview1() {
        return purview1;
    }

    public void setPurview1(Integer purview1) {
        this.purview1 = purview1;
    }

    
}
